#include "stdafx.h"
#include "IXamlSchemaContext.h"
#include "XamlSchemaContext.h"
IXamlSchemaContext::~IXamlSchemaContext()
{

}

HRESULT IXamlSchemaContext::Create(CCoreServices *pCore, XBOOL bAllowXmlnsOnlyReset, xshared_ptr<IXamlSchemaContext>  & outXamlSchemaContext)
{
	HRESULT hr = S_OK; 
	xshared_ptr<XamlSchemaContext> spXamlSchemaContext;

	XASSERT_SUCCESSED(XamlSchemaContext::Create(pCore, bAllowXmlnsOnlyReset, spXamlSchemaContext));

	outXamlSchemaContext = spXamlSchemaContext;

	return hr;
}


